package com.phone.json;

/**
 * Created by tisen on 2017/9/14.
 */
public class JsonControl {
    private String model;
    private int amount;
    private boolean status;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public JsonControl() {

    }

    public JsonControl(String model, int amount, boolean status) {
        this.model = model;
        this.amount = amount;
        this.status = status;
    }

    @Override
    public String toString() {
        return "\nJsonControl{" +
                "model='" + model + '\'' +
                ", amount=" + amount +
                ", status=" + status +
                '}';
    }
}
